package com.njitt.bysj.mapper;

import com.njitt.bysj.base.BaseMapper;
import com.njitt.bysj.bean.ProjectQualityBean;
import com.njitt.bysj.bean.QualityHistoryBean;
import com.njitt.bysj.query.QualityQuery;

import java.util.List;

public interface ProjectQualityBeanMapper extends BaseMapper<ProjectQualityBean, Integer> {

    List<ProjectQualityBean> selectByParamsWithPurchase(QualityQuery query);

    Integer updateStatus(Integer purchaseId, int status);

    List<ProjectQualityBean> selectByParamsWithProduce(QualityQuery query);
}